package org.hepeng.chaincode.contract.api;

import lombok.Data;
import lombok.experimental.Accessors;
import org.hyperledger.fabric.contract.annotation.DataType;
import org.hyperledger.fabric.contract.annotation.Property;

/**
 * @author he peng
 * @date 2022/3/26
 */

@DataType
@Data
@Accessors(chain = true)
public class Result<T> {

    @Property
    String msg;

    @Property
    T payload;
}
